home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -in_the_mag- / program_perfection / errors.h < prev    next >
C/C++ Source or Header  |  1999-12-08  |  342b  |  30 lines

  1. #ifndef ERRORS_H
  2. #define ERRORS_H
  3.  
  4. /*
  5.  * errors.h
  6.  *
  7.  * Errors
  8.  *
  9.  * $Id :$
  10.  * $Log:$
  11.  *
  12.  */
  13.  
  14. #include "defs.h"
  15.  
  16. typedef ULONG ERROR_TYPE;
  17.  
  18. enum ERROR_CODES
  19. {
  20.     ERR_NONE,             /* all's well */
  21.     ERR_NO_MEMORY,        /* memory allocation failed */
  22.     ERR_LINE_TOO_LONG,
  23.     ERR_TOO_MANY_LINES,
  24.     ERR_MAX_ERROR_CODE
  25. };
  26.  
  27.  
  28. #endif /* ERRORS_H */
  29.  
  30.